import sys; input = sys.stdin.readline; from bisect import * def merge(intervals): h=lambda a,b:0 if a[1]